home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / VBSamples / DirectPlay / SimpleClient / readme.txt < prev    next >
Text File  |  2001-10-10  |  2KB  |  42 lines

  1. //-----------------------------------------------------------------------------
  2. // 
  3. // Sample Name: VB Simple Client Sample
  4. // 
  5. // Copyright (C) 1999-2001 Microsoft Corporation. All rights reserved.
  6. // 
  7. //-----------------------------------------------------------------------------
  8.  
  9.  
  10. Description
  11. ===========
  12.   A very simplistic Client application that can only connect to a server, and 
  13.   make funny faces to other players on that server.
  14.   
  15. Path
  16. ====
  17.   Source: DXSDK\Samples\Multimedia\VBSamples\DirectPlay\SimpleClient
  18.  
  19.   Executable: DXSDK\Samples\Multimedia\VBSamples\DirectPlay\Bin
  20.  
  21. User's Guide
  22. ============
  23.   Connect to a server, and make funny faces.
  24.  
  25. Programming Notes
  26. =================
  27.   The SimpleClient sample allows players to make funny faces at anyone else on the server.
  28.   
  29.   * The "Make Faces" button is pressed.  See cmdFace_Click.
  30.         1. Fills out a byte array using nothing, since all we can do is make faces.
  31.         2. Calls DirectPlay8Client.Send with the byte array.  The server will receive
  32.            this message and handle it. 
  33.    
  34.  
  35.   * Handle DirectPlay system messages.  See implemented DirectPlay8Event interfaces
  36.  
  37.   - Upon Receive event: 
  38.   Checks message type, and if the following:
  39.    Msg_NumPlayers - Change the number of current and max players in this session, update UI
  40.    Msg_NoOtherPlayers - Notify the client there are no other players in the session
  41.    Msg_SendWave - Notify that someone made a funny face at us.
  42.